import { Component, OnInit } from '@angular/core';

@Component({
    selector: 'guide-birthday',
    template: `<p>他的生日是{{ birthday | date }}</p>`
})
export class BirthdayComponent implements OnInit {
    birthday = new Date(1988, 3, 15);
    constructor() { }

    ngOnInit() { }
}